﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NGE
{
    [Serializable]
    public class MemoryIndexer
    {
        public MemoryIndexer()
        {
            name = "";
            index = -1;
        }
        string name;
        int index;

        public string Name
        {
            get
            {
                return name;
            }
            set
            {
                index = -1;
                name = value;
            }
        }
        public int Index
        {
            get
            {
                return index;
            }
            set
            {
                index = value;
            }
        }
    }
}
